package com.ikun.mallbackend.enums;

/**
 * @Classname OrderStateEnum
 * @Description 订单状态枚举
 * @Date 2025/7/16 21:26
 * @Created by Song zuo gang
 */
public enum OrderStateEnum {

    /**
     * 待付款
     */
    WAITING_FOR_PAYMENT(1, "待付款"),
    
    /**
     * 待收货
     */
    WAITING_FOR_RECEIVE(2, "待收货"),
    
    /**
     * 退款/退货
     */
    REFUNDING(3, "退款/退货");

    private final Integer code;
    private final String desc;

    OrderStateEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
